﻿#!/usr/bin/python
# -*- coding: utf-8 -*-
#
# Copyright (C) 2008 ZHENG Zhong <heavyzheng nospam-at gmail D0T com>
# - http://heavyz.blogspot.com/
# - http://buggarden.blogspot.com/
#
# Created on 2008-04-28
# $Id: urls.py 307 2008-12-29 13:48:00Z heavyzheng $
#

# Django URL mappings.

from django.conf.urls.defaults import patterns
from django.conf.urls.defaults import include

urlpatterns = patterns( "",

    # Sub-webapps in the bug garden.
    ( r"^fnr/", include("buggarden.apps.fnr.urls") ),
    ( r"^forum/", include("buggarden.apps.forum.urls") ),
    ( r"^afcp/", include("buggarden.apps.afcp.urls") ),
    ( r"^check/", include("buggarden.apps.check.urls") ),

    # Top-level URL mappings.
    ( r"^$", "buggarden.apps.views.home" ),
    ( r"^sandbox/$", "buggarden.apps.views.sandbox" ),
    
    # Uncomment this for admin:
    # (r"^admin/", include("django.contrib.admin.urls")),
    
    # 404 not-found to catch all (this should always be the last URL pattern).
    ( r"^.*$", "buggarden.apps.views.not_found" ),

)


